/******************************************
 * Author: Dave Spadea, Spadea Enterprises, Inc.
 * Date: November 2010
 * 
 * This code is released by Spadea Enterprises, Inc for general consumption 
 * under the Apache Software License.
 * 
 */


package net.spadea.framework.messaging;

public class Channel {
	String name;
	String type;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name.toLowerCase();
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type.toUpperCase();
	}
	
	public String toString() {
		return type + "://" + name; 
	}

}
